package cn.anlucky.apiadmin.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.bind.DefaultValue;

import java.util.Objects;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class PageDto {

    private Long total;


    @Value(value = "10l")
    private Long size;

    @Value(value = "1l")
    private Long currentPage;

    @Value(value = "")
    private String search;

    private String enabled;

    private Object list;

}
